package org.gcu.filestorage.serive;

import org.gcu.filestorage.pojo.AccountInfo;

import java.util.List;

public interface AccountInfoService {

    boolean insertNewAccountInfo(AccountInfo newAccountInfo);
    AccountInfo queryAccountInfo(String account);

    List<AccountInfo> queryAccountInfoByPhoneNo(String phoneNo);

    List<AccountInfo> queryAccountInfoByEmail(String eMail);

    List<AccountInfo> queryAccountInfoByEmployeeId(String employeeId);

    List<AccountInfo> queryAccountInfoByStatus(int registerStatus);

    boolean updateRegisterStatus(String account, int registerStatus);

    boolean deleteAccountInfo(String account);

    boolean updatePassword(String account, String password);

}
